import instance from './request'

export const getAll = (res) =>{
    return instance({
        url:'Api/getAll',
        method: 'POST',
        data:res
    })
} 

export const getDetail = (res) =>{
    return instance({
        url:'Api/getDetail',
        method: 'POST',
        data:res
    })
} 


export default {
    getAll,
    getDetail}